package com.acme.task2;

public class Foo {
	
	private int iter;

	public Foo(int iter) {
		this.iter = iter;
	}

	public Foo() {
		
	}

	@Override
	protected void finalize() throws Throwable {
		//T ODO: print to console that finalize() was called
		System.out.println("call finalize for iter - " + this.iter);
		super.finalize();
	}

}
